Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detangle autocompletion, selection, and filtering #111

Merged
merged 11 commits into from
Mar 15, 2024
Merged

Conversation

josefarias
Copy link
Owner

@josefarias josefarias commented Mar 15, 2024

This is a refactor with some minor breaking changes:

  • hw-combobox:selection is only emitted when the value changes
  • In the hw-combobox:selection detail, isNew is now called isNewAndAllowed to better explain why the value would be false even if it's not in the listed options
  • previousValue is now included in the hw-combobox:selection detail.

One big win from this refactor is that previously a selection might have emitted many events as the library did some internal processing. Now, only one event is emitted where you'd only expect one event.

@josefarias josefarias added the breaking For breaking changes label Mar 15, 2024
@josefarias josefarias merged commit 7959982 into main Mar 15, 2024
2 checks passed
@josefarias josefarias deleted the jose/detangle branch March 15, 2024 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking For breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant